package pers.exercise.AbstractFactoryPattern;

import pers.exercise.AbstractFactoryPattern.impl.FastHtmlDocument;
import pers.exercise.AbstractFactoryPattern.impl.FastWordDocument;

public class FastFactory implements AbstractFactory {

    @Override
    public WordDocument creatWord(String md) {
       
        return new FastWordDocument(md);
    }

    @Override
    public HtmlDocument createHtml(String md) {
        
        return new FastHtmlDocument(md);
    }
    
    
}
